Deploying Adapters

To deploy your technology adapter for the Calibo Accelerate platform, refer to the following steps. In these steps, we have mentioned the Bitbucket code repository and the Docker deployment mode as an example.

  1. Code Repository Setup

    To push your adapter code to the source code repository, contact the Calibo Support Team.

  2. Docker Configuration

    Create a Docker file in the root directory of the repository. Refer to the following example structure:

    Copy
    FROM calibo/nr_openjdk-11:latest
    COPY /build/libs/plf-sampleadapter-integration-0.0.1-SNAPSHOT.jar app.jar
    ENTRYPOINT ["sh", "-c", "java -jar app.jar --spring.cloud.config.uri=${uri} --spring.cloud.config.profile=${profile}"]
  3. Jenkins Configuration
    1. Duplicate an existing adapter build job in Jenkins.

    2. Update the job with the following changes:

      • Change the repository URL and branch name to point to the newly created adapter.

      • Jenkins Job URL: To access this URL, contact the Calibo Support Team.

  4. Application Properties

    If the adapter requires application-specific properties, add them to a new folder in the source code repository. To access the repository, contact the Calibo Support Team.

  5. Update Helm Repository

    Add a values.yml file for the new service in the plf-helm-repository.

  6. Execute Jenkins Job

    Run the newly created Jenkins job to build and deploy the adapter.

Related Topics Link IconRecommended Topics

What's next? Logging Standards